export default [
  // 原辅料采购
  {
    path: 'materials',
    name: 'Materials',
    component: function () {
      return import('@/views/Mall/Materials/index.vue')
    }
  },
  {
    path: 'materialsDetail/:id',
    name: 'MaterialsDetail',
    component: function () {
      return import('@/views/Mall/Materials/materialsDetail.vue')
    }
  },
  // 仓储物流
  {
    path: 'logistics',
    name: 'Logistics',
    component: function () {
      return import('@/views/Mall/Logistics/index.vue')
    }
  },
  // 食品机械
  {
    path: 'food',
    name: 'Food',
    component: function () {
      return import('@/views/Mall/Food/index.vue')
    }
  },
  {
    path: 'foodDetail/:id',
    name: 'FoodDetail',
    component: function () {
      return import('@/views/Mall/Food/foodDetail.vue')
    }
  },
  // 品牌中心
  {
    path: 'brand',
    name: 'Brand',
    component: function () {
      return import('@/views/Mall/Brand/index.vue')
    }
  },
  {
    path: 'brandDetail/:id',
    name: 'BrandDetail',
    component: function () {
      return import('@/views/Mall/Brand/brandDetail.vue')
    }
  },
  // 食品质量安全
  {
    path: 'security',
    name: 'Security',
    component: function () {
      return import('@/views/Mall/Security/index.vue')
    }
  },
  // 金融服务
  {
    path: 'finance',
    name: 'Finance',
    component: function () {
      return import('@/views/Mall/Finance/index.vue')
    }
  },
  // 人才服务
  {
    path: 'personnel',
    name: 'Personnel',
    component: function () {
      return import('@/views/Mall/Personnel/index.vue')
    }
  },
  // 电商服务
  {
    path: 'retailers',
    name: 'Retailers',
    component: function () {
      return import('@/views/Mall/Retailers/index.vue')
    }
  },
  // 科技研发
  {
    path: 'research',
    name: 'Research',
    component: function () {
      return import('@/views/Mall/Research/index.vue')
    }
  },
]